package org.example.model;

import org.jsoup.nodes.Element;

public class DeletedElementInfo {
    private final Element deletedElement;
    private final Element parentElement;
    private final int originalIndex;

    public DeletedElementInfo(Element deletedElement, Element parentElement, int originalIndex) {
        this.deletedElement = deletedElement;
        this.parentElement = parentElement;
        this.originalIndex = originalIndex;
    }

    public Element getDeletedElement() {
        return deletedElement;
    }

    public Element getParentElement() {
        return parentElement;
    }

    public int getOriginalIndex() {
        return originalIndex;
    }
}
